package cn.neusoft.exception;

public enum  AppExceptionCodeMsg {

    INVOID_CODE(10000,"验证码无效"),
    CUSTOMER_NOT_EXISTS(10001,"客户不存在"),
    REQUEST_PARAM_EMPTY(10002,"请求参数为空"),
    CUSTOMER_HAVE_ORDER(10003,"用户下过订单"),
    COMMODITY_NOT_EXISTS(10004,"商品不存在"),
    LAKE_COMMODITY(10005,"缺货"),
    LAKE_SUPPLY(10006,"没有供货");

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    AppExceptionCodeMsg(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}

